/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.acme.business;

import com.acme.model.StockPrice;
import com.acme.persistence.StockPriceDao;
import java.util.List;

/**
 *
 * @author General
 */
public interface StockPriceBusiness {
    void createStockPrice(StockPrice stockPrice);
            
    void createStockPrice(long stock_id, long market_id, String priceDate, String openPrice, String highPrice, String lowPrice, String closePrice, String volume, String adjustedClosePrice);

    void deleteStockPrice(long stock_id);

    void updateStockPrice(long stock_id, long market_id, String priceDate, String openPrice, String highPrice, String lowPrice, String closePrice, String volume, String adjustedClosePrice);

    StockPrice getStockPrice(long stock_id);

    List<StockPrice> getAllStockPrice();

    void setStockPriceDao(StockPriceDao stockPriceDao);
}
